XML Examples
Provide basic XML output with no embedded source code and no custom formatting:
This will produce XML with diagnostics looking like:
<Diag id="419">
<Line>489</Line>
<Column>1</Column>
<MsgNum>1090</MsgNum>
<MsgText> Tab found in source.</MsgText>
</Diag>
To give basic XML output with no embedded source code and default custom formatting:
This will produce XML with diagnostics looking like:
<Diag id="419">
<Formatted>/home/steve/.config/Perforce/Helix-QAC-2019.1/samples/sample_cgicc_diff-2.4.0</Formatted>
<Line>489</Line>
<Column>1</Column>
<MsgNum>1090</MsgNum>
<MsgText> Tab found in source.</MsgText>
</Diag>
To give XML output with only the Line, Column and Message Number:
This will produce XML with diagnostics looking like: